﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPageAdmin.Master" AutoEventWireup="true" CodeBehind="PortEdit.aspx.cs" Inherits="DesignLife.Admin.EditManager.PortEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style>
         p label
        {
            width: 117px;
            font-size: 15px;
            float: left;
            margin: 0 47px;
            height: 30px;
        }
                
        .success
        {
            background: url("../images/icn_alert_success.png") no-repeat scroll 10px 10px #E2F6C5;
            border: 1px solid #79C20D;
            border-radius: 5px 5px 5px 5px;
            color: #32510F;
            display: block;
            font-size: 14px;
            margin: 20px 3% 0;
            padding: 10px 0;
            text-indent: 40px;
            width: 75%;
        }
        .error
        {
            background: url("../images/icn_alert_error.png") no-repeat scroll 10px 10px #F3D9D9;
            border: 1px solid #D20009;
            border-radius: 5px 5px 5px 5px;
            color: #7B040F;
            display: block;
            font-size: 14px;
            margin: 20px 3% 0;
            padding: 10px 0;
            text-indent: 40px;
            width: 75%;
        }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
      <div id="flsAdd">
        <div class="success" id="div_success" runat="server">
            <asp:Label ID="lblSuccess" runat="server" /></div>
        <div class="error" id="div_error" runat="server">
            <asp:Label ID="lblError" runat="server" /></div>
            <p>
            <label>
                PortId :</label>
            <asp:TextBox ID="txtid" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtid" ErrorMessage="Required"></asp:RequiredFieldValidator>
        </p>
        <p>
            <label>
                PortName :</label>
            <asp:TextBox ID="txtname" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="txtname" ErrorMessage="Required"></asp:RequiredFieldValidator>
        </p>
        <p>
            <label>
                Link :</label>
            <asp:TextBox ID="txtlink" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ControlToValidate="txtlink" ErrorMessage="Required"></asp:RequiredFieldValidator>
        </p>
        <p>
            <label>
                Image :</label>
            <asp:FileUpload ID="Fuimage" runat="server" />
            <asp:Button ID="btnsave" runat="server" Text="Save" OnClick="btnsave_Click" />
            <asp:TextBox ID="txtPath" runat="server" CssClass="text" Width="300px"></asp:TextBox>
            <asp:Label ID="lblthongbao" runat="server" Font-Size="11pt"></asp:Label>
            <p>
                <asp:Button ID="btnsubmit" runat="server" Text="Submit" OnClick="btnsubmit_Click" />
            </p>
    </div>
</asp:Content>
